<template>
  <div>
    <el-tag
      v-show="show"
      :class="`Fg-tag--${$attrs.round?'round':''}`"
      v-bind="$attrs"
      :style="newStyle"
      @close="show=!show"
    >{{ $attrs.__config__.defaultValue }}</el-tag>
  </div>
</template>

<script>
import { comMixin } from "../../../utils/comMixins";
export default {
  mixins: [comMixin],
  name: "form-tag",
  data() {
    return {
      show: true,
    };
  },
};
</script>

<style lang="scss" scoped>
.Fg-tag--round {
  border-radius: 999px;
}
</style>